<template>
  <div class="madp-external-link">
    <iframe class="iframe hidden-scrollbar" :src="link" X_FRAME_OPTIONS="DENY" frameborder="0"></iframe>
    <back-btn />
  </div>
</template>
<script>
import backBtn from '@/components/back-btn.vue'
export default {
  components: { backBtn },
  data() {
    return {
      link: ''
    }
  },
  created() {},
  mounted() {},
  activated() {
    this.link = this.$route.query.link || 'https://www.baidu.com/?tn=48021271_25_hao_pg'
  },
  methods: {}
}
</script>
<style scoped lang='scss'>
.madp-external-link {
  .iframe {
    width: 100%;
    height: 100vh;
  }
}
</style>